﻿namespace NsbExtensions
{
    public class EndpointOfflineEventArgs : EndpointEventArgs
    {
        public EndpointOfflineEventArgs(string endpointId, string reason, int estimatedOutageInMinutes)
            : base(endpointId)
        {
            Reason = reason;
            EstimatedOutageInMinutes = estimatedOutageInMinutes;
        }

        public string Reason { get; set; }
        public int EstimatedOutageInMinutes { get; set; }
    }
}